<?php 
 
class BooleanField extends fpp_tdp_Model{

  function __construct($DataObjects){
    parent::__construct($DataObjects);
  }

  public function __toString(){ 
    $field = $this->field_name;
    $choices = $this->args->choices;
    $checks[$this->field_value] = $this->field_value;
    return fpp::RadioGroup($field,$choices,$checks);
  }

}

?>